package com.itheima.service.impl;

import com.itheima.dao.BookDao;
import com.itheima.dao.impl.BookDaoImpl;
import com.itheima.service.BookService;

public class BookServiceImpl implements BookService {

    public void setBookDao(BookDao bookDao) {
        this.bookDao = bookDao;
    }

    private   BookDao bookDao;





    /**
     * save()方法
     */
    @Override
    public void save() {
        System.out.println("bookserviceImpl方法");
        bookDao.save();
    }
}
